#include <string>
#include <iostream>
#include "ViolentSearch.h"
#include "KMP.h"

using namespace std;

int main()
{
	string src = "I love other game over";
	string pattern = "over";
	//int r = ViolentSearch(src, pattern);
	int r = KMP(src, pattern);
	cout << pattern << " in " << src << " pos " << r << endl;
	return 0;
}